package nl.twleaks.alice.captha;

import java.io.Serializable;

import javax.persistence.Id;

@SuppressWarnings("serial")
public class Captcha implements Serializable
{
	@Id
	private int id;
    private String text;
    private byte[] image;

    public Captcha()
    {}

    public Captcha(byte[] image) {
    	this.id = 0;
    	this.text = "";
    	this.image = image;
    }

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public byte[] getImage() {
		return image;
	}

	public void setImage(byte[] image) {
		this.image = image;
	}
}
